package com.zkingsoft.web.dao;

import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import com.matrix.core.pojo.PaginationVO;
import com.zkingsoft.web.bean.ProductAlbum;

/**
 * @description (产品相册)
 * @author 姜友瑶
 * @date 2018-12-12 13:44
 */
public interface ProductAlbumDao{

	public int insert(@Param("item") ProductAlbum productAlbum);
   	
   	public int batchInsert(@Param("list") List<ProductAlbum> productAlbumList);
   	
	public int updateByMap(Map<String, Object> modifyMap);
	
	public int updateByModel(@Param("record")ProductAlbum productAlbum);
	
	public int deleteByIds(@Param("list") List<String> list);
	
	public int deleteById(String id);

	public int deleteByModel(@Param("record") ProductAlbum productAlbum);
	
	public List<ProductAlbum> selectInPage(@Param("record") ProductAlbum productAlbum, @Param("pageVo") PaginationVO pageVo);

	public List<ProductAlbum> selectByModel(@Param("record") ProductAlbum productAlbum);
	
	public int selectTotalRecord(@Param("record") ProductAlbum productAlbum);
	
	public ProductAlbum  selectById(String id);
	
	public ProductAlbum  selectForUpdate(String id);
	
}